//
//  FeedbackAddManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/4.
//

#import "FeedbackAddManager.h"

@implementation FeedbackAddManager

-(NSString *)methodName{
    return @"/system/feedback/app/add";
}

-(JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypePOST;
}

-(NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"memo"] = self.memo;
    dict[@"option1"] = self.option1;
    dict[@"wordId"] = self.wordId;
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
    dict[@"userId"] = userId;
    return dict;
}

@end
